package com.kws.tool.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;
import java.util.List;

/**
 * @author : zhangbenting
 * @date : 2024/11/29 15:35
 * @Version: 1.0
 */
@Data
@ApiModel(description = "充电桩测算输入实体")
public class ElectricPileDto {
    @ApiModelProperty(value = "安装区域", required = true)
    @NotNull(message = "用电类型不能为空")
    private String azqy;

    @ApiModelProperty(value = "安装详细地址", required = true)
    @NotBlank(message = "项目地址不能为空")
    private String azxxdz;

    @ApiModelProperty(value = "充电桩数量", required = true)
    @NotBlank(message = "充电桩数量不能为空")
    private String cdzsl;

    @ApiModelProperty(value = "安装面积", required = true)
    @NotBlank(message = "安装面积不能为空")
    private String azmj;

    @ApiModelProperty(value = "充电桩功率", required = true)
    @NotBlank(message = "充电桩功率不能为空")
    private String cdzgl;

    @ApiModelProperty(value = "充电桩类型", required = true)
    @NotBlank(message = "充电桩类型不能为空")
    private String cdzlx;

    @ApiModelProperty(value = "变压器容量", required = true)
    @NotBlank(message = "变压器容量不能为空")
    private String byqrl;

    @ApiModelProperty(value = "使用率")
    @NotBlank(message = "使用率不能为空")
    private String syl;

    @ApiModelProperty(value = "充电桩单价", required = true)
    @NotBlank(message = "充电桩单价不能为空")
    private String cdzdj;

    @ApiModelProperty(value = "配电设备单价（每KVA）", required = true)
    @NotBlank(message = "配电设备单价不能为空")
    private String pdsbdj;

    @ApiModelProperty(value = "土建施工单价（每KVA）", required = true)
    @NotBlank(message = "土建施工单价不能为空")
    private String tjsgdj;

    @ApiModelProperty(value = "使用年限")
    @NotBlank(message = "使用年限不能为空")
    private String synx ;

    @ApiModelProperty(value = "年运营单价", required = true)
    @NotBlank(message = "年运营单价不能为空")
    private String nyydj;

    @ApiModelProperty(value = "单桩功率")
    @NotBlank(message = "单桩功率不能为空")
    private String dzgl ;

    @ApiModelProperty(value = "运营小时数", required = true)
    @NotBlank(message = "运营小时数不能为空")
    private String yyxss;

    @ApiModelProperty(value = "服务费")
    @NotBlank(message = "服务费不能为空")
    private String fwf ;

//    @ApiModelProperty(value = "位置信息", required = true)
//    @NotBlank(message = "位置信息不能为空")
//    private String locationInfo;
//
//    @ApiModelProperty(value = "充电桩数量", required = true)
//    @Positive(message = "充电桩数量必须大于0")
//    private int chargingPileCount;
//
//    @ApiModelProperty(value = "充电桩类型", required = true)
//    @NotBlank(message = "充电桩类型不能为空")
//    private String chargingPileType;
//
//    @ApiModelProperty(value = "服务费，默认值8元/度（深圳）")
//    @DecimalMin(value = "0.0", inclusive = false, message = "服务费必须大于0")
//    private double serviceFee ;
//
//    @ApiModelProperty(value = "变压器容量", required = true)
//    @Positive(message = "变压器容量必须大于0")
//    private int transformerCapacity;
//
//    @ApiModelProperty(value = "利用率，默认值20%")
//    @DecimalMin(value = "0.0", inclusive = true, message = "利用率不能小于0")
//    @DecimalMax(value = "1.0", inclusive = true, message = "利用率不能超过100%")
//    private double utilizationRate;
//
//    @ApiModelProperty(value = "充电桩单价", required = true)
//    @DecimalMin(value = "0.0", inclusive = false, message = "充电桩单价必须大于0")
//    private double chargingPilePrice;
//
//    @ApiModelProperty(value = "配电设备单价（每KVA）", required = true)
//    @DecimalMin(value = "0.0", inclusive = false, message = "配电设备单价必须大于0")
//    private double distributionEquipmentPrice;
//
//    @ApiModelProperty(value = "土建施工面积", required = true)
//    @Positive(message = "土建施工面积必须大于0")
//    private double constructionArea;
//
//    @ApiModelProperty(value = "土建施工单价（每KVA）", required = true)
//    @DecimalMin(value = "0.0", inclusive = false, message = "土建施工单价必须大于0")
//    private double constructionPrice;
//
//    @ApiModelProperty(value = "使用年限，默认值10年")
//    @Positive(message = "使用年限必须大于0")
//    private int serviceYears ;
//
//    @ApiModelProperty(value = "年运营单价", required = true)
//    @DecimalMin(value = "0.0", inclusive = false, message = "年运营单价必须大于0")
//    private double annualOperationPrice;

}
